Fast Near Phong-Quality Software Shading
نویسندگان
چکیده
Quadratic shading has been proposed as a technique giving better results than Gouraud shading, but which is substantially faster than Phong shading. Several techniques for fitting a second order surface to six points have been proposed. We show in this paper how an approximation of the mid-edge samples can be done in a very efficient way. An approximation of the mid-edge vectors are derived. Several advantages are apparent when these vectors are put into the original formulation. First of all it will only depend on the vertex vectors. Moreover, it will simplify the setup and no extra square roots are necessary for normalizing the mid-edge vectors. The setup will be about three times faster than previous approaches. This makes quadratic shading very fast for interpolation of both diffuse and specular light, which will make it suitable for near Phong quality software renderings.
منابع مشابه
Shading By Fast Bi-Quadratic Normal Vector Interpolation
The use of Bezier curves and Bezier triangles has been extensively explored in the field of computer graphics. The purpose of this paper is to show that Bezier triangles and curves can be used for reducing the cost of Biquadratic Phong shading. A shading algorithm has been proposed which uses quadratic Bezier triangle’s blending functions for performing quadratic interpolation of normal vector ...
متن کاملImproved Specular Highlights With Adaptive Shading
the interior pixel colors from the vertex colors. Phong . Gouraud shading and Phong shading are widely used interpolation methods to render a polygon mesh of a curved surface. When an illumination equation has a specular reflection term, Phong shading produces more realistic results than does Gouraud shading. The specular highlights produced by Phong shading give visual information about surfac...
متن کاملQuadratic Shading and its Hardware Implementation
Rendering systems often represent curved surfaces as a mesh of planar polygons that are shaded to restore a smooth appearance. Gouraud shading uses linear color interpolation and its hardware implementation is relatively easy, but it handles specular highlights incorrectly and introduces annoying artifacts called Mach banding over the edges of the polygon mesh. In software rendering Phong shadi...
متن کاملHardware Implementation of Phong Shading Using Spherical Interpolation
Computer image generation systems often represent curved surfaces as a mesh of planar polygons that are shaded to restore a smooth appearance. In software rendering Phong shading has been one of the most successful algorithms, because it can realistically handle specular materials. Since it requires the rendering equation to be evaluated for each pixel, its hardware support poses problems. This...
متن کاملShading by Quaternion Interpolation
The purpose of this paper is to show that linear interpolation of quaternions can be used for true Phong shading and also for related techniques that use frames, like bump mapping and anisotropic shading. Quaternion interpolation for shading has not been proposed in literature and the reason might be that it turns out to be mostly of academic interest, and it will here be explained why. Further...
متن کامل